package com.isloop;

import java.text.SimpleDateFormat;
import java.util.Date;

public class SysError {
	public static void RecordErr(String Location,String ErrString){
		System.out.println("");
		System.out.println("--------------- Know Define Error Start ------------------------");
		System.out.println(Location);
		System.out.println("Disc:"+ ErrString);
		SimpleDateFormat sdf=new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
		Date d=new Date();
		System.out.println("Time:" + (sdf.format(d))  +"");
		d=null;
		sdf=null;
		System.out.println("============== Know Define Error End ===========================");
	}
	
	public static void Println(String Infor){
		System.out.println(Infor);
	}
}
